package music_store.ms.service;

import com.github.pagehelper.PageInfo;
import music_store.ms.common.ServerResponse;
import music_store.ms.pojo.Order;
import org.springframework.web.bind.annotation.RequestParam;

public interface IOrderService {

    ServerResponse<Order> createOrder (Integer userId);

    ServerResponse<PageInfo> getList (Integer userId, Integer pageNum, Integer pageSize);

    ServerResponse<PageInfo> getOrderDetail (Long orderNo, Integer pageNum, Integer pageSize);

    ServerResponse checkSales(Integer pageNum, Integer pageSize);
}
